package com.flex.control
{
	import com.adobe.cairngorm.control.FrontController;
	import com.flex.commands.ModelCommand;
	import com.flex.commands.SayHelloCommand;


	public class ServicesController extends FrontController
	{
		public function ServicesController()
		{
			initialiseCommands();
		}

		private function initialiseCommands():void
		{
			addCommand(EVENT_SAY_Hello, SayHelloCommand);
			addCommand(EVENT_MODEL_TYPE, ModelCommand);
		}
		
		public static const EVENT_SAY_Hello : String = "sayHello";
		public static const EVENT_MODEL_TYPE:String = "modelEvent";
	}
}